package grsu.epam.airline.model;

public class UserPrincipal {
	
	private String userName;
    private String password;
    private Role role;
	
    private UserPrincipal() {}
    
    public UserPrincipal(String userName, String password) {
		super();
		this.userName = userName;
		this.password = password;
	}

	public UserPrincipal(String userName, String password, Role role) {
		this.role = role;this.userName = userName;
		this.password = password;
	}

	public String getUserName() {
		return userName;
	}

	public String getPassword() {
		return password;
	}

	public Role getRole() {
		return role;
	}

}
